<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<link href="${prcs}/css/def/bootstrap/ace/ace-part2.min.css" rel="stylesheet">
<link href="${prcs}/css/def/bootstrap/ace/ace.css" rel="stylesheet">
<link href="${prcs}/css/def/bootstrap/ace/ace-ie.min.css" rel="stylesheet">
<link href="${prcs}/css/def/frm/common/common.css" rel="stylesheet">
</head>
<style>
.HdClass {
	display: none!important;
}
input[disabled] {
	color: #848484 !important;
	background-color: #fff !important;
}
input[readonly] {
	color: #848484 !important;
	background-color: #fff !important;
}
table td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}
table th {
	text-align: center;
}
body .help-block{
	color:#d16e6c;
}
</style>
<script type="text/javascript">
</script>
<body>
	<div id="main">
		<div class="head-title">
			<span>系统参数</span>
		</div>
		<!-- 系统参数列表 -->
		<div class="body"  id="configList">
			<div class="headerDiv"></div>
			<div class="container-fluid mid-body">
				<div class="row-fluid">
					<div class="span12">
						<form role="form" id="searchform">
							<div class="row">
								<div class="input-group col-sm-3 free-3">
									<span class="input-group-addon">参数名称</span> <input type="text"
										class="form-control" id="codeObj" name="code">
								</div>
								<div class="div-button col-md-pull-3">
									<a class="btn btn-info"  onclick="select()"><i
										class="ace-icon glyphicon glyphicon-search"></i>查询</a>
									<a type="button" class="btn btn-info" onclick="reset()"><i 
										class="ace-icon glyphicon glyphicon-repeat"></i>重置</a>
									<a class="btn btn-success" onclick="toAdd()"><i
										class="ace-icon glyphicon glyphicon-plus align-top bigger-125"></i>新增</a>
									<a class="btn btn-info" onclick="toUpdate()">修改</a>
									<a class="btn btn-danger" onclick="del()"></i>删除</a>
								</div>
							</div>
						</form>
						<div class="hr"></div>
					</div>
					<div class="row">
						<table id="searchTable" class="display table table-bordered"
							style="border-collapse: collapse;" width="100%">
							<thead>
								<tr align="center">
									<th width="30" align="center">
										<input type="checkbox"  id="checkAll" onclick="selectAllorNot()" />
									</th>
									<th>参数名称</th>
									<th>参数值</th>
									<th>允许用户更改</th>
									<th>可更改枚举值</th>
								</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
		</div> 
		<!-- 系统参数列表结束 -->
    	<div class="container-fluid " id="configInfo" style="display:none;">
    		<form  class="form-horizontal" role="form" id="configForm">
    			<div class="orderchek-border">
    		        <div id="orgOperationTitle" class="orderchek-title"></div> 
    				<div class="ordercheck-table table-responsive">
    					<div class="demo-row modal-body" id="orgField" >
    						<input type="hidden" name="id" id="configId" value="">
    						<div class="form-group">
    								<div class="input-group">
    									<span class="input-group-addon">参数名称</span> <input type="text"  class="form-control" name="code">
    								</div>
    						</div>
    						<div class="form-group">
    								<div class="input-group">
    									<span class="input-group-addon">参数值</span> <input type="text"  class="form-control" name="val" ></div>
    						</div>
    							<div class="form-group">
    								<div class="input-group">
    									<span class="input-group-addon">允许用户更改</span> <select
    										class="form-control" name="attra" data-placeholder="允许用户更改">
    										<option value="0" selected="selected">否</option>
    										<option value="1">是</option>
    									</select>
    								</div>
    							</div>
    							<div class="form-group">
    								<div class="input-group">
    									<span class="input-group-addon">可更改枚举值</span> <input type="text"  class="form-control" name="attrb" ></div>
    						</div>
    			    		<div align="center">                                                                
    			       			<button type="submit" class="btn btn-primary ma_btn2" name="addBtnName" style="display:none" id="addBtn">保存</button>
    							<button type="submit" class="btn btn-primary ma_btn3" name="updateBtnName" style="display:none" id="updateBtn">修改</button>
    							<button type="button" class="btn btn-primary"  onclick="back();">返回</button>        
    			      		</div>  
    			    	</div>
    				</div>
    			</div>
    		</form>
    	</div>
	</div>
	<script src="${prcs}/js/frm/sys/sysConfig.js"></script>
</body>
</html>